//
//  ZWLeaveDownHeaderView.m
//  WanEr
//
//  Created by apple on 15/12/23.
//  Copyright © 2015年 高文萍. All rights reserved.
//

#import "ZWLeaveDownHeaderView.h"

@interface ZWLeaveDownHeaderView ()

@property (weak, nonatomic) IBOutlet UISearchBar *searchBar;
- (IBAction)back;
- (IBAction)chouTi;
- (IBAction)downloadDone;
- (IBAction)downloadIng;
- (IBAction)street;
- (IBAction)scenery;
- (IBAction)city;
- (IBAction)play;

@end

@implementation ZWLeaveDownHeaderView

+ (instancetype)headerView
{
    return [[[NSBundle mainBundle] loadNibNamed:@"ZWLeaveDownHeaderView" owner:nil options:nil] lastObject];
}

- (IBAction)back {
    [[NSNotificationCenter defaultCenter] postNotificationName:@"back" object:self];
}

- (IBAction)chouTi {
    [[NSNotificationCenter defaultCenter] postNotificationName:@"chouTi" object:self];
}

- (IBAction)downloadDone {
    [[NSNotificationCenter defaultCenter] postNotificationName:@"downloadDone" object:self];
}

- (IBAction)downloadIng {
    [[NSNotificationCenter defaultCenter] postNotificationName:@"downloadIng" object:self];
}

- (IBAction)street {
    [[NSNotificationCenter defaultCenter] postNotificationName:@"street" object:self];
}

- (IBAction)scenery {
    [[NSNotificationCenter defaultCenter] postNotificationName:@"scenery" object:self];
}

- (IBAction)city {
    [[NSNotificationCenter defaultCenter] postNotificationName:@"city" object:self];
}

- (IBAction)play {
    [[NSNotificationCenter defaultCenter] postNotificationName:@"play" object:self];
}
@end
